package com.hk.service.yingmi;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.yingmi.YingmiCapitalRecFile;

public interface IYingmiCapitalRecFile {
	public YingmiCapitalRecFile findById(long id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	public Integer add(YingmiCapitalRecFile u);

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public void delete(YingmiCapitalRecFile u);

	public void merge(YingmiCapitalRecFile u);

	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(YingmiCapitalRecFile u);

	public List<YingmiCapitalRecFile> findByFilter(HqlFilter hqlFilter,
			int pageNum, int pageSize);

	public List<YingmiCapitalRecFile> findByFilter(HqlFilter hqlFilter);

	public Long countByFilter(HqlFilter hqlFilter);
}
